package spring.mybatis.service;

import spring.mybatis.domain.User;

import java.util.List;

/**
 * service 层
 *
 * @author ME
 * @date 2021/5/21
 */
public interface UserService {

    Integer addUser(User user);

    User getUser(Integer userId);

    List<User> getUsers();
}
